<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            font-size:20px;
            width:200px;
            height:200px;
            border:1px solid red;
            /* display:inline-block; */
        }
        #div1{
            float:left;
        }
        #div2{
            float:left;
        }
        #div3{
            float:right;
        }
    </style>
</head>
<body>
    <div id="div1">div1</div>
    <div id="div2">div2</div>
    <div id="div3">已注册，点击此处登录</div>
</body>
</html>